home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d3
/
rr2310.arc
/
DOSCMD.SUM
< prev
next >
Wrap
Text File
|
1988-12-18
|
4KB
|
110 lines
CHDIR [[d:]pathname]
CD Changes or displays working directory.
CLS Clears the console screen.
COMP [d:][path][filespec] [d:][path][filespec]
Compares the contents of files, listing differences.
No comparison will be made if the files are of different sizes.
COPY [/A][/B] [d:][path][sourcefile] [[/A][/B][+[d:][path][sourcefile]]
[/A][/B][d:][path][destinationfile][/A][/B][/V]
Copies one or more source files to one or more destination files,
with or without concatenation. "/A" designates an ASCII (i.e., TEXT)
file. "/B" designates a binary file. "/V" verifies the copy
operation.
DATE [mm-dd-yy │ dd-mm-yy │ yy-mm-dd]
Displays and/or sets the system date.
DEL [d:][path]filespec
ERASE Deletes the designated file(S).
DIR [d:][path][filespec][/P][/W]
Displays files and subdirectories, including size, date/time of
last change.
DISKCOPY [d: [d:]][/1]
Copies the contents of one floppy disk to another, track by track.
Source and destination drives can be the same. "/1" copies one side
only.
{**CAUTION** If not enough RAM is available to load the entire con-
tents of a diskette, DISKCOPY will produce a faulty copy without
warning.}
DISKCOMP [d: [d:]][/1][/8]
Compares the contents of one floppy disk with another, track by
track. Both drives can be the same. "/1" implies single sided use,
"/8" implies 8 sectors per track instead of 9.
ECHO [ON │ OFF │ message]
Displays current status of batch Echo feature, turns echoing on/off,
or displays message.
FIND [/V][/C][/N] "string" [[d:][path][filespec]...]
Searches for a text string in a [set of] file(s).
FOR %%c IN (set-of-files) DO command {in batch files}
%c IN (set-of-files) DO command {from DOS prompt}
Repeats "command" for each file in "set-of-files".
GOTO label
Transfers control in a batch file to "label".
IF [NOT] string1 == string2 │ EXIST [d:][path]filespec │
ERRORLEVEL number command
Executes "command" if the stated condition is [NOT] true.
MKDIR [d:]pathname
MD Creates a new subdirectory.
MORE program | MORE │ MORE < datafile
Displays data in pages.
PATH [[d:]path][[;[d:]path]...]
Establishes or displays search path for locating executable / batch
files.
PAUSE [comment]
Suspends execution of a batch file, optionally displaying "comment".
RENAME [d:][path]filespec filespec
REN Renames a (set of) file(s).
RMDIR [d:]path
RD Removes an empty subdirectory.
SET [string1=string2]
Sets an environment variable (string1) to a value (string2), or
displays the current environment.
SHIFT Decreases the current index of each batch file parameter, and
eliminates the current %0 value.
SORT SORT[/R][/+n] < datafile │ program | SORT[/R][/+n]
Sorts a data file or the output of a program on a field beginning
in col. "n". "/R" specifies a descending sort order.
TIME [hh:mm[:ss[.cc]]]
Displays and/or sets the system time.
TREE [d:][/F]
Displays the directory / file structure.
TYPE [d:][path]filespec
Displays the contents of a file on the console.
VER Displays the current DOS version number.
VERIFY [ON │ OFF]
Turns disk verification on / off or displays current setting.
VOL [d:]
Displays the volume name.